In this reaction, all of the bonds on the left side are broken, and all of the bonds on the right side are newly formed. The energy required for this reaction is the total of the energies needed to break the bonds on the left side:
Energy is released when new bonds are formed on the right side of the equation: